<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Session</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
						<script src="../../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../../media/images/plus.png";
				imgMinus.src = "../../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Session</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Session管理类</p>
	<ul class="tags">
				<li><span class="field">author:</span> liu21st &lt;<a href="mailto:liu21st@gmail.com">liu21st@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> $Id$</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Think---Util---Session.class.php.html">/Think/Util/Session.class.php</a> (line <span class="field">28</span>)
		</p>
		
				
		<pre><a href="../../Think/Core/Base.html">Base</a>
   |
   --Session</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
										
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#clear" title="details" class="method-name">clear</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#clearLocal" title="details" class="method-name">clearLocal</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#destroy" title="details" class="method-name">destroy</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#detectID" title="details" class="method-name">detectID</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#get" title="details" class="method-name">get</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#getFilename" title="details" class="method-name">getFilename</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#getLocal" title="details" class="method-name">getLocal</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#id" title="details" class="method-name">id</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#isExpired" title="details" class="method-name">isExpired</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#isIdle" title="details" class="method-name">isIdle</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#isNew" title="details" class="method-name">isNew</a>
											(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$useCookies</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#is_set" title="details" class="method-name">is_set</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#is_setLocal" title="details" class="method-name">is_setLocal</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#localName" title="details" class="method-name">localName</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#name" title="details" class="method-name">name</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#path" title="details" class="method-name">path</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#pause" title="details" class="method-name">pause</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#sessionValidThru" title="details" class="method-name">sessionValidThru</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#set" title="details" class="method-name">set</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#setCallback" title="details" class="method-name">setCallback</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$callback</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#setCookieDomain" title="details" class="method-name">setCookieDomain</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$sessionDomain</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#setExpire" title="details" class="method-name">setExpire</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$add</span> = <span class="var-default">false</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#setGcMaxLifetime" title="details" class="method-name">setGcMaxLifetime</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$gcMaxLifetime</span> = <span class="var-default">null</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$gc_maxlifetime</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#setGcProbability" title="details" class="method-name">setGcProbability</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$gcProbability</span> = <span class="var-default">null</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$gc_maxlifetime</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#setIdle" title="details" class="method-name">setIdle</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$add</span> = <span class="var-default">false</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#setLocal" title="details" class="method-name">setLocal</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#start" title="details" class="method-name">start</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#updateIdle" title="details" class="method-name">updateIdle</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#useCookies" title="details" class="method-name">useCookies</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$useCookies</span> = <span class="var-default">null</span>])
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#useTransSID" title="details" class="method-name">useTransSID</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$useTransSID</span> = <span class="var-default">null</span>])
									</div>
																																																																																																																																																																																																																																																															</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodclear" id="clear"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static clear</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">清空Session</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			clear
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodclearLocal" id="clearLocal"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static clearLocal</span> (line <span class="line-number">77</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">清空Session</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			clearLocal
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddestroy" id="destroy"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static destroy</span> (line <span class="line-number">109</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">销毁Session</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			destroy
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddetectID" id="detectID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static detectID</span> (line <span class="line-number">125</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检测SessionID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			detectID
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodget" id="get"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static get</span> (line <span class="line-number">414</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">取得当前项目的Session 值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFilename" id="getFilename"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static getFilename</span> (line <span class="line-number">654</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">当前Session文件名</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			getFilename
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLocal" id="getLocal"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static getLocal</span> (line <span class="line-number">392</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">取得当前项目的Session 值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			getLocal
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodid" id="id"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static id</span> (line <span class="line-number">171</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置或者获取当前SessionID</p>
	<ul class="tags">
				<li><span class="field">return:</span> 返回之前的sessionID</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			id
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: sessionID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisExpired" id="isExpired"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static isExpired</span> (line <span class="line-number">272</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查Session 是否过期</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			isExpired
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisIdle" id="isIdle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static isIdle</span> (line <span class="line-number">291</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查Session 是否闲置</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			isIdle
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisNew" id="isNew"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static isNew</span> (line <span class="line-number">372</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查Session 是否新建</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			isNew
		</span>
					(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$useCookies</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$useCookies</span><span class="var-description">: 是否使用cookie</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis_set" id="is_set"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static is_set</span> (line <span class="line-number">505</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查Session 值是否已经设置</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			is_set
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis_setLocal" id="is_setLocal"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static is_setLocal</span> (line <span class="line-number">487</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查Session 值是否已经设置</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			is_setLocal
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlocalName" id="localName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static localName</span> (line <span class="line-number">522</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置或者获取 Session localname</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			localName
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodname" id="name"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static name</span> (line <span class="line-number">154</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置或者获取当前Session name</p>
	<ul class="tags">
				<li><span class="field">return:</span> 返回之前的Session name</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			name
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: session名称</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpath" id="path"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static path</span> (line <span class="line-number">187</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置或者获取当前Session保存路径</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			path
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$path</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span><span class="var-description">: 保存路径名</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpause" id="pause"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static pause</span> (line <span class="line-number">62</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">暂停Session</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			pause
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsessionValidThru" id="sessionValidThru"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static sessionValidThru</span> (line <span class="line-number">253</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">取得Session 有效时间</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			sessionValidThru
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodset" id="set"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static set</span> (line <span class="line-number">465</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置当前项目的Session 值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			set
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetCallback" id="setCallback"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static setCallback</span> (line <span class="line-number">328</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session 对象反序列化时候的回调函数</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			setCallback
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$callback</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$callback</span><span class="var-description">: 回调函数方法名</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetCookieDomain" id="setCookieDomain"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static setCookieDomain</span> (line <span class="line-number">591</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session cookie_domain</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			setCookieDomain
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$sessionDomain</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sessionDomain</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetExpire" id="setExpire"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static setExpire</span> (line <span class="line-number">205</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session 过期时间</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			setExpire
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$add</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$time</span><span class="var-description">: 过期时间</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$add</span><span class="var-description">: 是否为增加时间</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetGcMaxLifetime" id="setGcMaxLifetime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static setGcMaxLifetime</span> (line <span class="line-number">614</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session gc_maxlifetime值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			setGcMaxLifetime
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$gcMaxLifetime</span> = <span class="var-default">null</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$gc_maxlifetime</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$gc_maxlifetime</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$gcMaxLifetime</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetGcProbability" id="setGcProbability"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static setGcProbability</span> (line <span class="line-number">636</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session gc_probability 值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			setGcProbability
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$gcProbability</span> = <span class="var-default">null</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$gc_maxlifetime</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$gc_maxlifetime</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$gcProbability</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetIdle" id="setIdle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static setIdle</span> (line <span class="line-number">234</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session 闲置时间</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			setIdle
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$time</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$add</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$time</span><span class="var-description">: 闲置时间</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$add</span><span class="var-description">: 是否为增加时间</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetLocal" id="setLocal"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static setLocal</span> (line <span class="line-number">437</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置当前项目的Session 值</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			setLocal
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstart" id="start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static start</span> (line <span class="line-number">41</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">启动Session</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			start
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodupdateIdle" id="updateIdle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static updateIdle</span> (line <span class="line-number">310</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">更新Session 闲置时间</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			updateIdle
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoduseCookies" id="useCookies"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static useCookies</span> (line <span class="line-number">351</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session 是否使用cookie</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			useCookies
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$useCookies</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$useCookies</span><span class="var-description">: 是否使用cookie</span>			</li>
				</ul>
		
			
	</div>
<a name="methoduseTransSID" id="useTransSID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static useTransSID</span> (line <span class="line-number">569</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置Session use_trans_sid</p>
<p class="description"><p>返回之前设置</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			useTransSID
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$useTransSID</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$useTransSID</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 27 Mar 2008 08:20:52 +0000 by 塞北的雪
	</p>
	</div></body>
</html>